<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<load href="../Public/js/MyDate/WdatePicker.js"/>
<script type="text/javascript" src="../Public/js/jquery.js" ></script>
<script type="text/javascript">
	$(function(){
		var tianjia_html='123';

		var i={$js_i};
		
		$("#tianjia_ck").click(function(){
//			alert(i);
			if(i<4){
				i++;
				$("#tianjia_"+i+"").show();
				$("#quxiao").show();
			}
			
		});

		$("#quxiao").click(function(){
			if(i>0){
				$("#tianjia_"+i+"").hide();
				i--;
			}
		});

		$("#tijiao_yanzheng").click(function(){
			var app_name=$("#app_name").val();
			if(!app_name){
				alert("app名称不能为空");
			}else{
				$("#form1").submit();				
			}
			

		});

		$("#qiyong_1").click(function(){
				alert("test");
		});

		$("#tingyong_1").click(function(){
			alert("test");
		});

		$("#jump_type_1").click(function(){
			$("#form_jump_1").submit();
		});
		$("#jump_type_2").click(function(){
			$("#form_jump_2").submit();
		});

		
	});
</script>
<style type="text/css">
body { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #333; }
.mc{ height:35px; line-height:35px; padding-top:10px;}
.mc01{ float:left; padding-left:15px;}
.mc02{ float:left; padding-left:15px;}
.mc03{ padding-left:36px;height:35px; line-height:35px;}
.mc04{ padding-left:12px;line-height:35px;}
.ok{ margin:0 auto; padding:0 auto; width:60px; height:23px; padding-top:20px;}
</style>
</head>

<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style=" border: 1px solid #787878;">
  <tr align="left" valign="top" bgcolor="#f2f2f2">
    <td height="472" ><table width="100%" border="0" align="left" cellpadding="0" cellspacing="0" style="padding-bottom:20px;">
        <tr align="center" valign="top" bgcolor="#d8d8d8">
          <td><table width="100%" border="0" align="left" cellpadding="0" cellspacing="0" style="border-bottom:1px solid #787878; padding:0px 10px 0px 10px;">
              <tr align="left" valign="middle">
                <td height="40" style="padding-left:5px;"><a href="{:U('Dataflow/index')}">数据流量</a>&gt;编辑链接</td>
              </tr>
            </table></td>
        </tr>
        <form action="{:U('Dataflow/edit_link_operation')}" method="post" id="form1">
        <tr><td><input type="radio" name="jump_type" id="jump_type_1" value="0" <if condition="$jump_type eq 0 ">checked="checked"</if>/>按时间<input type="radio" name="jump_type" id="jump_type_2" value="1" <if condition="$jump_type eq 1 ">checked="checked"</if>/>按点击</td></tr>
        <tr><td>
        <input type="hidden" name="app_info_pk_val" value="{$app_info_pk_val}"/>
        <div class="mc02">节点
                    <select name="app_info_pk" id="app_info_pk">
                      <option value="0">/</option>
                      <volist name="app_info_list" id="vo">
                      <option <if condition="$app_info_pk eq $vo['id'] ">selected=""</if> value="{$vo.id}">{$vo.app_name}</option>
                      </volist>
                    </select>
         </div>
        </td></tr>
        <tr valign="top" id="jump_date">
          <td height="413">
              
              <foreach name="app_info" item="vo"> 
              	
                <div class="mc">
                  <div class="mc01">app名称
                    <input type="text" name="app_name" id="app_name" value="{$vo['app_name']}"/>
                  </div>
                  <div class="mc02"> 类别
                    <select name="app_sort" id="app_sort">
                      <option <if condition="$vo['app_sort'] eq 1 ">selected=""</if> value="1">app</option>
                      <option <if condition="$vo['app_sort'] eq 2 ">selected=""</if> value="2">网站</option>
                    </select>
                  </div>
                </div>
                <volist name="vo['app_link']" id="voo">
                <div>
                <div class="mc03">别名
                    <input type="text" name="app_link_alias1" id="app_link_alias1" value="{$voo['app_link_alias1']}"/>
                  </div>
                 <div class="mc04"><span>链接地址</span>
                   <input type="text" name="app_link_ad1" id="app_link_ad1" value="{$voo['app_link_ad1']}" size="80"/></div>
                 <div <if condition="$jump_type eq 1 ">style="display:none"</if>>
                   	启用时间
                        <select name="app_link_start1">
              <option <if condition="$voo['app_link_start1'] eq 1 ">selected=""</if> value="1">1</option>
              <option <if condition="$voo['app_link_start1'] eq 2 ">selected=""</if> value="2">2</option>
              <option <if condition="$voo['app_link_start1'] eq 3 ">selected=""</if> value="3">3</option>
              <option <if condition="$voo['app_link_start1'] eq 4 ">selected=""</if> value="4">4</option>
              <option <if condition="$voo['app_link_start1'] eq 5 ">selected=""</if> value="5">5</option>
              <option <if condition="$voo['app_link_start1'] eq 6 ">selected=""</if> value="6">6</option>
              <option <if condition="$voo['app_link_start1'] eq 7 ">selected=""</if> value="7">7</option>
              <option <if condition="$voo['app_link_start1'] eq 8 ">selected=""</if> value="8">8</option>
              <option <if condition="$voo['app_link_start1'] eq 9 ">selected=""</if> value="9">9</option>
              <option <if condition="$voo['app_link_start1'] eq 10 ">selected=""</if> value="10">10</option>
              <option <if condition="$voo['app_link_start1'] eq 11 ">selected=""</if> value="11">11</option>
              <option <if condition="$voo['app_link_start1'] eq 12 ">selected=""</if> value="12">12</option>
              <option <if condition="$voo['app_link_start1'] eq 13 ">selected=""</if> value="13">13</option>
              <option <if condition="$voo['app_link_start1'] eq 14 ">selected=""</if> value="14">14</option>
              <option <if condition="$voo['app_link_start1'] eq 15 ">selected=""</if> value="15">15</option>
              <option <if condition="$voo['app_link_start1'] eq 16 ">selected=""</if> value="16">16</option>
              <option <if condition="$voo['app_link_start1'] eq 17 ">selected=""</if> value="17">17</option>
              <option <if condition="$voo['app_link_start1'] eq 18 ">selected=""</if> value="18">18</option>
              <option <if condition="$voo['app_link_start1'] eq 19 ">selected=""</if> value="19">19</option>
              <option <if condition="$voo['app_link_start1'] eq 20 ">selected=""</if> value="20">20</option>
              <option <if condition="$voo['app_link_start1'] eq 21 ">selected=""</if> value="21">21</option>
              <option <if condition="$voo['app_link_start1'] eq 22 ">selected=""</if> value="22">22</option>
              <option <if condition="$voo['app_link_start1'] eq 23 ">selected=""</if> value="23">23</option>
              <option <if condition="$voo['app_link_start1'] eq 24 ">selected=""</if> value="24">24</option>
            </select>
            到<select name="app_link_sed1">
              <option <if condition="$voo['app_link_sed1'] eq 1 ">selected=""</if> value="1">1</option>
              <option <if condition="$voo['app_link_sed1'] eq 2 ">selected=""</if> value="2">2</option>
              <option <if condition="$voo['app_link_sed1'] eq 3 ">selected=""</if> value="3">3</option>
              <option <if condition="$voo['app_link_sed1'] eq 4 ">selected=""</if> value="4">4</option>
              <option <if condition="$voo['app_link_sed1'] eq 5 ">selected=""</if> value="5">5</option>
              <option <if condition="$voo['app_link_sed1'] eq 6 ">selected=""</if> value="6">6</option>
              <option <if condition="$voo['app_link_sed1'] eq 7 ">selected=""</if> value="7">7</option>
              <option <if condition="$voo['app_link_sed1'] eq 8 ">selected=""</if> value="8">8</option>
              <option <if condition="$voo['app_link_sed1'] eq 9 ">selected=""</if> value="9">9</option>
              <option <if condition="$voo['app_link_sed1'] eq 10 ">selected=""</if> value="10">10</option>
              <option <if condition="$voo['app_link_sed1'] eq 11 ">selected=""</if> value="11">11</option>
              <option <if condition="$voo['app_link_sed1'] eq 12 ">selected=""</if> value="12">12</option>
              <option <if condition="$voo['app_link_sed1'] eq 13 ">selected=""</if> value="13">13</option>
              <option <if condition="$voo['app_link_sed1'] eq 14 ">selected=""</if> value="14">14</option>
              <option <if condition="$voo['app_link_sed1'] eq 15 ">selected=""</if> value="15">15</option>
              <option <if condition="$voo['app_link_sed1'] eq 16 ">selected=""</if> value="16">16</option>
              <option <if condition="$voo['app_link_sed1'] eq 17 ">selected=""</if> value="17">17</option>
              <option <if condition="$voo['app_link_sed1'] eq 18 ">selected=""</if> value="18">18</option>
              <option <if condition="$voo['app_link_sed1'] eq 19 ">selected=""</if> value="19">19</option>
              <option <if condition="$voo['app_link_sed1'] eq 20 ">selected=""</if> value="20">20</option>
              <option <if condition="$voo['app_link_sed1'] eq 21 ">selected=""</if> value="21">21</option>
              <option <if condition="$voo['app_link_sed1'] eq 22 ">selected=""</if> value="22">22</option>
              <option <if condition="$voo['app_link_sed1'] eq 23 ">selected=""</if> value="23">23</option>
              <option <if condition="$voo['app_link_sed1'] eq 24 ">selected=""</if> value="24">24</option>
            </select>
            <if condition="$voo['app_link_qiyong1'] eq 1 "><a href="{:U('Dataflow/edit_index',array('app_id'=>$app_id,'app_link_qiyong1'=>2))}">停用</a><else /><a href="{:U('Dataflow/edit_index',array('app_id'=>$app_id,'app_link_qiyong1'=>1))}">启用 </a></if></div>
          	<div class="mc03" <if condition="$jump_type eq 0 ">style="display:none"</if>>
          	点击数<input type="text" name="app_link_click1" id="app_link_click1" value="{$voo['app_link_click1']}"/>
          	<input  class="Wdate input-text"  name="app_link_startdate1" type="text" id="app_link_startdate1" size="14" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" value="
<?php 
if($voo['app_link_startdate1']){
//echo date('Y-m-d',$voo['app_link_startdate1']);
echo $voo['app_link_startdate1'];  
}else{
echo date('Y-m-d'); 
}
?>
" />至
                      <input  class="Wdate input-text"  name="app_link_enddate1" type="text" id="app_link_enddate1" size="14" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" value="
<?php 
if($voo['app_link_enddate1']){
//echo date('Y-m-d',$voo['app_link_enddate1']);
echo $voo['app_link_enddate1'];  
}else{
echo date('Y-m-d'); 
}
?>
" />
          	</div>
          </div>
          <div id="tianjia_1" <if condition="$voo['app_link_alias2'] eq '' ">style="display:none;"</if>>
          		<div class="mc03">别名
                    <input type="text" name="app_link_alias2" id="app_link_alias2" value="{$voo['app_link_alias2']}"/>
                  </div>
                 <div class="mc04"><span>链接地址</span>
                   <input type="text" name="app_link_ad2" id="app_link_ad2" value="{$voo['app_link_ad2']}" size="80"/></div>
                 <div <if condition="$jump_type eq 1 ">style="display:none"</if>>
                   	启用时间
                        <select name="app_link_start2">
              <option <if condition="$voo['app_link_start2'] eq 1 ">selected=""</if> value="1">1</option>
              <option <if condition="$voo['app_link_start2'] eq 2 ">selected=""</if> value="2">2</option>
              <option <if condition="$voo['app_link_start2'] eq 3 ">selected=""</if> value="3">3</option>
              <option <if condition="$voo['app_link_start2'] eq 4 ">selected=""</if> value="4">4</option>
              <option <if condition="$voo['app_link_start2'] eq 5 ">selected=""</if> value="5">5</option>
              <option <if condition="$voo['app_link_start2'] eq 6 ">selected=""</if> value="6">6</option>
              <option <if condition="$voo['app_link_start2'] eq 7 ">selected=""</if> value="7">7</option>
              <option <if condition="$voo['app_link_start2'] eq 8 ">selected=""</if> value="8">8</option>
              <option <if condition="$voo['app_link_start2'] eq 9 ">selected=""</if> value="9">9</option>
              <option <if condition="$voo['app_link_start2'] eq 10 ">selected=""</if> value="10">10</option>
              <option <if condition="$voo['app_link_start2'] eq 11 ">selected=""</if> value="11">11</option>
              <option <if condition="$voo['app_link_start2'] eq 12 ">selected=""</if> value="12">12</option>
              <option <if condition="$voo['app_link_start2'] eq 13 ">selected=""</if> value="13">13</option>
              <option <if condition="$voo['app_link_start2'] eq 14 ">selected=""</if> value="14">14</option>
              <option <if condition="$voo['app_link_start2'] eq 15 ">selected=""</if> value="15">15</option>
              <option <if condition="$voo['app_link_start2'] eq 16 ">selected=""</if> value="16">16</option>
              <option <if condition="$voo['app_link_start2'] eq 17 ">selected=""</if> value="17">17</option>
              <option <if condition="$voo['app_link_start2'] eq 18 ">selected=""</if> value="18">18</option>
              <option <if condition="$voo['app_link_start2'] eq 19 ">selected=""</if> value="19">19</option>
              <option <if condition="$voo['app_link_start2'] eq 20 ">selected=""</if> value="20">20</option>
              <option <if condition="$voo['app_link_start2'] eq 21 ">selected=""</if> value="21">21</option>
              <option <if condition="$voo['app_link_start2'] eq 22 ">selected=""</if> value="22">22</option>
              <option <if condition="$voo['app_link_start2'] eq 23 ">selected=""</if> value="23">23</option>
              <option <if condition="$voo['app_link_start2'] eq 24 ">selected=""</if> value="24">24</option>
            </select>
            到<select name="app_link_sed2">
              <option <if condition="$voo['app_link_sed2'] eq 1 ">selected=""</if> value="1">1</option>
              <option <if condition="$voo['app_link_sed2'] eq 2 ">selected=""</if> value="2">2</option>
              <option <if condition="$voo['app_link_sed2'] eq 3 ">selected=""</if> value="3">3</option>
              <option <if condition="$voo['app_link_sed2'] eq 4 ">selected=""</if> value="4">4</option>
              <option <if condition="$voo['app_link_sed2'] eq 5 ">selected=""</if> value="5">5</option>
              <option <if condition="$voo['app_link_sed2'] eq 6 ">selected=""</if> value="6">6</option>
              <option <if condition="$voo['app_link_sed2'] eq 7 ">selected=""</if> value="7">7</option>
              <option <if condition="$voo['app_link_sed2'] eq 8 ">selected=""</if> value="8">8</option>
              <option <if condition="$voo['app_link_sed2'] eq 9 ">selected=""</if> value="9">9</option>
              <option <if condition="$voo['app_link_sed2'] eq 10 ">selected=""</if> value="10">10</option>
              <option <if condition="$voo['app_link_sed2'] eq 11 ">selected=""</if> value="11">11</option>
              <option <if condition="$voo['app_link_sed2'] eq 12 ">selected=""</if> value="12">12</option>
              <option <if condition="$voo['app_link_sed2'] eq 13 ">selected=""</if> value="13">13</option>
              <option <if condition="$voo['app_link_sed2'] eq 14 ">selected=""</if> value="14">14</option>
              <option <if condition="$voo['app_link_sed2'] eq 15 ">selected=""</if> value="15">15</option>
              <option <if condition="$voo['app_link_sed2'] eq 16 ">selected=""</if> value="16">16</option>
              <option <if condition="$voo['app_link_sed2'] eq 17 ">selected=""</if> value="17">17</option>
              <option <if condition="$voo['app_link_sed2'] eq 18 ">selected=""</if> value="18">18</option>
              <option <if condition="$voo['app_link_sed2'] eq 19 ">selected=""</if> value="19">19</option>
              <option <if condition="$voo['app_link_sed2'] eq 20 ">selected=""</if> value="20">20</option>
              <option <if condition="$voo['app_link_sed2'] eq 21 ">selected=""</if> value="21">21</option>
              <option <if condition="$voo['app_link_sed2'] eq 22 ">selected=""</if> value="22">22</option>
              <option <if condition="$voo['app_link_sed2'] eq 23 ">selected=""</if> value="23">23</option>
              <option <if condition="$voo['app_link_sed2'] eq 24 ">selected=""</if> value="24">24</option>
            </select>
            <if condition="$voo['app_link_qiyong2'] eq 1 "><a href="{:U('Dataflow/edit_index',array('app_id'=>$app_id,'app_link_qiyong2'=>2))}">停用</a><else /><a href="{:U('Dataflow/edit_index',array('app_id'=>$app_id,'app_link_qiyong2'=>1))}">启用 </a></if></div>
           	<div class="mc03" <if condition="$jump_type eq 0 ">style="display:none"</if>>
          	点击数<input type="text" name="app_link_click2" id="app_link_click2" value="{$voo['app_link_click2']}"/>
<input  class="Wdate input-text"  name="app_link_startdate2" type="text" id="app_link_startdate2" size="14" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" value="
<?php 
if($voo['app_link_startdate2']){
//echo date('Y-m-d',$voo['app_link_startdate2']);
echo $voo['app_link_startdate2'];  
}else{
echo date('Y-m-d'); 
}
?>
" />至
                      <input  class="Wdate input-text"  name="app_link_enddate2" type="text" id="app_link_enddate2" size="14" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd' })" value="
<?php 
if($voo['app_link_enddate2']){
//echo date('Y-m-d',$voo['app_link_enddate2']);
echo $voo['app_link_enddate2'];  
}else{
echo date('Y-m-d'); 
}
?>
" />
          	</div>
           </div>
           <div id="tianjia_2" <if condition="$voo['app_link_alias3'] eq '' ">style="display:none;"</if>>
           			<div class="mc03">别名
                    <input type="text" name="app_link_alias3" id="app_link_alias3" value="{$voo['app_link_alias3']}"/>
                  </div>
                 <div class="mc04"><span>链接地址</span>
                   <input type="text" name="app_link_ad3" id="app_link_ad3" value="{$voo['app_link_ad3']}" size="80"/></div>
                 <div <if condition="$jump_type eq 1 ">style="display:none"</if>>
                   	启用时间
                        <select name="app_link_start3">
              <option <if condition="$voo['app_link_start3'] eq 1 ">selected=""</if> value="1">1</option>
              <option <if condition="$voo['app_link_start3'] eq 2 ">selected=""</if> value="2">2</option>
              <option <if condition="$voo['app_link_start3'] eq 3 ">selected=""</if> value="3">3</option>
              <option <if condition="$voo['app_link_start3'] eq 4 ">selected=""</if> value="4">4</option>
              <option <if condition="$voo['app_link_start3'] eq 5 ">selected=""</if> value="5">5</option>
              <option <if condition="$voo['app_link_start3'] eq 6 ">selected=""</if> value="6">6</option>
              <option <if condition="$voo['app_link_start3'] eq 7 ">selected=""</if> value="7">7</option>
              <option <if condition="$voo['app_link_start3'] eq 8 ">selected=""</if> value="8">8</option>
              <option <if condition="$voo['app_link_start3'] eq 9 ">selected=""</if> value="9">9</option>
              <option <if condition="$voo['app_link_start3'] eq 10 ">selected=""</if> value="10">10</option>
              <option <if condition="$voo['app_link_start3'] eq 11 ">selected=""</if> value="11">11</option>
              <option <if condition="$voo['app_link_start3'] eq 12 ">selected=""</if> value="12">12</option>
              <option <if condition="$voo['app_link_start3'] eq 13 ">selected=""</if> value="13">13</option>
              <option <if condition="$voo['app_link_start3'] eq 14 ">selected=""</if> value="14">14</option>
              <option <if condition="$voo['app_link_start3'] eq 15 ">selected=""</if> value="15">15</option>
              <option <if condition="$voo['app_link_start3'] eq 16 ">selected=""</if> value="16">16</option>
              <option <if condition="$voo['app_link_start3'] eq 17 ">selected=""</if> value="17">17</option>
              <option <if condition="$voo['app_link_start3'] eq 18 ">selected=""</if> value="18">18</option>
              <option <if condition="$voo['app_link_start3'] eq 19 ">selected=""</if> value="19">19</option>
              <option <if condition="$voo['app_link_start3'] eq 20 ">selected=""</if> value="20">20</option>
              <option <if condition="$voo['app_link_start3'] eq 21 ">selected=""</if> value="21">21</option>
              <option <if condition="$voo['app_link_start3'] eq 22 ">selected=""</if> value="22">22</option>
              <option <if condition="$voo['app_link_start3'] eq 23 ">selected=""</if> value="23">23</option>
              <option <if condition="$voo['app_link_start3'] eq 24 ">selected=""</if> value="24">24</option>
            </select>
            到<select name="app_link_sed3">
              <option <if condition="$voo['app_link_sed3'] eq 1 ">selected=""</if> value="1">1</option>
              <option <if condition="$voo['app_link_sed3'] eq 2 ">selected=""</if> value="2">2</option>
              <option <if condition="$voo['app_link_sed3'] eq 3 ">selected=""</if> value="3">3</option>
              <option <if condition="$voo['app_link_sed3'] eq 4 ">selected=""</if> value="4">4</option>
              <option <if condition="$voo['app_link_sed3'] eq 5 ">selected=""</if> value="5">5</option>
              <option <if condition="$voo['app_link_sed3'] eq 6 ">selected=""</if> value="6">6</option>
              <option <if condition="$voo['app_link_sed3'] eq 7 ">selected=""</if> value="7">7</option>
              <option <if condition="$voo['app_link_sed3'] eq 8 ">selected=""</if> value="8">8</option>
              <option <if condition="$voo['app_link_sed3'] eq 9 ">selected=""</if> value="9">9</option>
              <option <if condition="$voo['app_link_sed3'] eq 10 ">selected=""</if> value="10">10</option>
              <option <if condition="$voo['app_link_sed3'] eq 11 ">selected=""</if> value="11">11</option>
              <option <if condition="$voo['app_link_sed3'] eq 12 ">selected=""</if> value="12">12</option>
              <option <if condition="$voo['app_link_sed3'] eq 13 ">selected=""</if> value="13">13</option>
              <option <if condition="$voo['app_link_sed3'] eq 14 ">selected=""</if> value="14">14</option>
              <option <if condition="$voo['app_link_sed3'] eq 15 ">selected=""</if> value="15">15</option>
              <option <if condition="$voo['app_link_sed3'] eq 16 ">selected=""</if> value="16">16</option>
              <option <if condition="$voo['app_link_sed3'] eq 17 ">selected=""</if> value="17">17</option>
              <option <if condition="$voo['app_link_sed3'] eq 18 ">selected=""</if> value="18">18</option>
              <option <if condition="$voo['app_link_sed3'] eq 19 ">selected=""</if> value="19">19</option>
              <option <if condition="$voo['app_link_sed3'] eq 20 ">selected=""</if> value="20">20</option>
              <option <if condition="$voo['app_link_sed3'] eq 21 ">selected=""</if> value="21">21</option>
              <option <if condition="$voo['app_link_sed3'] eq 22 ">selected=""</if> value="22">22</option>
              <option <if condition="$voo['app_link_sed3'] eq 23 ">selected=""</if> value="23">23</option>
              <option <if condition="$voo['app_link_sed3'] eq 24 ">selected=""</if> value="24">24</option>
            </select>
            <if condition="$voo['app_link_qiyong3'] eq 1 "><a href="{:U('Dataflow/edit_index',array('app_id'=>$app_id,'app_link_qiyong3'=>2))}">停用</a><else /><a href="{:U('Dataflow/edit_index',array('app_id'=>$app_id,'app_link_qiyong3'=>1))}">启用 </a></if></div>
           	<div class="mc03" <if condition="$jump_type eq 0 ">style="display:none"</if>>
          	点击数<input type="text" name="app_link_click3" id="app_link_click3" value="{$voo['app_link_click3']}"/>
          	<input  class="Wdate input-text"  name="app_link_startdate3" type="text" id="app_link_startdate3" size="14" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" value="
<?php 
if($voo['app_link_startdate3']){
//echo date('Y-m-d',$voo['app_link_startdate3']);
echo $voo['app_link_startdate3'];  
}else{
echo date('Y-m-d'); 
}
?>
" />至
                      <input  class="Wdate input-text"  name="app_link_enddate3" type="text" id="app_link_enddate3" size="14" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd' })" value="
<?php 
if($voo['app_link_enddate3']){
//echo date('Y-m-d',$voo['app_link_enddate3']);
echo $voo['app_link_enddate3'];  
}else{
echo date('Y-m-d'); 
}
?>
" />
          	</div>
           </div>
           <div id="tianjia_3" <if condition="$voo['app_link_alias4'] eq '' ">style="display:none;"</if>>
           			<div class="mc03">别名
                    <input type="text" name="app_link_alias4" id="app_link_alias4" value="{$voo['app_link_alias4']}"/>
                  </div>
                 <div class="mc04"><span>链接地址</span>
                   <input type="text" name="app_link_ad4" id="app_link_ad4" value="{$voo['app_link_ad4']}" size="80"/></div>
                 <div <if condition="$jump_type eq 1 ">style="display:none"</if>>
                   	启用时间
                        <select name="app_link_start4">  
              <option <if condition="$voo['app_link_start4'] eq 1 ">selected=""</if> value="1">1</option>
              <option <if condition="$voo['app_link_start4'] eq 2 ">selected=""</if> value="2">2</option>
              <option <if condition="$voo['app_link_start4'] eq 3 ">selected=""</if> value="3">3</option>
              <option <if condition="$voo['app_link_start4'] eq 4 ">selected=""</if> value="4">4</option>
              <option <if condition="$voo['app_link_start4'] eq 5 ">selected=""</if> value="5">5</option>
              <option <if condition="$voo['app_link_start4'] eq 6 ">selected=""</if> value="6">6</option>
              <option <if condition="$voo['app_link_start4'] eq 7 ">selected=""</if> value="7">7</option>
              <option <if condition="$voo['app_link_start4'] eq 8 ">selected=""</if> value="8">8</option>
              <option <if condition="$voo['app_link_start4'] eq 9 ">selected=""</if> value="9">9</option>
              <option <if condition="$voo['app_link_start4'] eq 10 ">selected=""</if> value="10">10</option>
              <option <if condition="$voo['app_link_start4'] eq 11 ">selected=""</if> value="11">11</option>
              <option <if condition="$voo['app_link_start4'] eq 12 ">selected=""</if> value="12">12</option>
              <option <if condition="$voo['app_link_start4'] eq 13 ">selected=""</if> value="13">13</option>
              <option <if condition="$voo['app_link_start4'] eq 14 ">selected=""</if> value="14">14</option>
              <option <if condition="$voo['app_link_start4'] eq 15 ">selected=""</if> value="15">15</option>
              <option <if condition="$voo['app_link_start4'] eq 16 ">selected=""</if> value="16">16</option>
              <option <if condition="$voo['app_link_start4'] eq 17 ">selected=""</if> value="17">17</option>
              <option <if condition="$voo['app_link_start4'] eq 18 ">selected=""</if> value="18">18</option>
              <option <if condition="$voo['app_link_start4'] eq 19 ">selected=""</if> value="19">19</option>
              <option <if condition="$voo['app_link_start4'] eq 20 ">selected=""</if> value="20">20</option>
              <option <if condition="$voo['app_link_start4'] eq 21 ">selected=""</if> value="21">21</option>
              <option <if condition="$voo['app_link_start4'] eq 22 ">selected=""</if> value="22">22</option>
              <option <if condition="$voo['app_link_start4'] eq 23 ">selected=""</if> value="23">23</option>
              <option <if condition="$voo['app_link_start4'] eq 24 ">selected=""</if> value="24">24</option>
            </select>
            到<select name="app_link_sed4">
              <option <if condition="$voo['app_link_sed4'] eq 1 ">selected=""</if> value="1">1</option>
              <option <if condition="$voo['app_link_sed4'] eq 2 ">selected=""</if> value="2">2</option>
              <option <if condition="$voo['app_link_sed4'] eq 3 ">selected=""</if> value="3">3</option>
              <option <if condition="$voo['app_link_sed4'] eq 4 ">selected=""</if> value="4">4</option>
              <option <if condition="$voo['app_link_sed4'] eq 5 ">selected=""</if> value="5">5</option>
              <option <if condition="$voo['app_link_sed4'] eq 6 ">selected=""</if> value="6">6</option>
              <option <if condition="$voo['app_link_sed4'] eq 7 ">selected=""</if> value="7">7</option>
              <option <if condition="$voo['app_link_sed4'] eq 8 ">selected=""</if> value="8">8</option>
              <option <if condition="$voo['app_link_sed4'] eq 9 ">selected=""</if> value="9">9</option>
              <option <if condition="$voo['app_link_sed4'] eq 10 ">selected=""</if> value="10">10</option>
              <option <if condition="$voo['app_link_sed4'] eq 11 ">selected=""</if> value="11">11</option>
              <option <if condition="$voo['app_link_sed4'] eq 12 ">selected=""</if> value="12">12</option>
              <option <if condition="$voo['app_link_sed4'] eq 13 ">selected=""</if> value="13">13</option>
              <option <if condition="$voo['app_link_sed4'] eq 14 ">selected=""</if> value="14">14</option>
              <option <if condition="$voo['app_link_sed4'] eq 15 ">selected=""</if> value="15">15</option>
              <option <if condition="$voo['app_link_sed4'] eq 16 ">selected=""</if> value="16">16</option>
              <option <if condition="$voo['app_link_sed4'] eq 17 ">selected=""</if> value="17">17</option>
              <option <if condition="$voo['app_link_sed4'] eq 18 ">selected=""</if> value="18">18</option>
              <option <if condition="$voo['app_link_sed4'] eq 19 ">selected=""</if> value="19">19</option>
              <option <if condition="$voo['app_link_sed4'] eq 20 ">selected=""</if> value="20">20</option>
              <option <if condition="$voo['app_link_sed4'] eq 21 ">selected=""</if> value="21">21</option>
              <option <if condition="$voo['app_link_sed4'] eq 22 ">selected=""</if> value="22">22</option>
              <option <if condition="$voo['app_link_sed4'] eq 23 ">selected=""</if> value="23">23</option>
              <option <if condition="$voo['app_link_sed4'] eq 24 ">selected=""</if> value="24">24</option>
            </select>
           <if condition="$voo['app_link_qiyong4'] eq 1 "><a href="{:U('Dataflow/edit_index',array('app_id'=>$app_id,'app_link_qiyong4'=>2))}">停用</a><else /><a href="{:U('Dataflow/edit_index',array('app_id'=>$app_id,'app_link_qiyong4'=>1))}">启用 </a></if></div>
           	<div class="mc03" <if condition="$jump_type eq 0 ">style="display:none"</if>>
          	点击数<input type="text" name="app_link_click4" id="app_link_click4" value="{$voo['app_link_click4']}"/>
          	<input  class="Wdate input-text"  name="app_link_startdate4" type="text" id="app_link_startdate4" size="14" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" value="
<?php 
if($voo['app_link_startdate4']){
//echo date('Y-m-d',$voo['app_link_startdate4']);
echo $voo['app_link_startdate4'];  
}else{
echo date('Y-m-d'); 
}
?>
" />至
                      <input  class="Wdate input-text"  name="app_link_enddate4" type="text" id="app_link_enddate4" size="14" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd' })" value="
<?php 
if($voo['app_link_enddate4']){
//echo date('Y-m-d',$voo['app_link_enddate4']);
echo $voo['app_link_enddate4'];  
}else{
echo date('Y-m-d'); 
}
?>
" />
          	</div>
           </div>
           <div id="tianjia_4" <if condition="$voo['app_link_alias5'] eq '' ">style="display:none;"</if>>
           		<div class="mc03">别名
                    <input type="text" name="app_link_alias5" id="app_link_alias5" value="{$voo['app_link_alias5']}"/>
                  </div>
                 <div class="mc04"><span>链接地址</span>
                   <input type="text" name="app_link_ad5" id="app_link_ad5" value="{$voo['app_link_ad5']}" size="80"/></div>
                 <div <if condition="$jump_type eq 1 ">style="display:none"</if>>
                   	启用时间
                        <select name="app_link_start5">
              <option <if condition="$voo['app_link_start5'] eq 1 ">selected=""</if> value="1">1</option>
              <option <if condition="$voo['app_link_start5'] eq 2 ">selected=""</if> value="2">2</option>
              <option <if condition="$voo['app_link_start5'] eq 3 ">selected=""</if> value="3">3</option>
              <option <if condition="$voo['app_link_start5'] eq 4 ">selected=""</if> value="4">4</option>
              <option <if condition="$voo['app_link_start5'] eq 5 ">selected=""</if> value="5">5</option>
              <option <if condition="$voo['app_link_start5'] eq 6 ">selected=""</if> value="6">6</option>
              <option <if condition="$voo['app_link_start5'] eq 7 ">selected=""</if> value="7">7</option>
              <option <if condition="$voo['app_link_start5'] eq 8 ">selected=""</if> value="8">8</option>
              <option <if condition="$voo['app_link_start5'] eq 9 ">selected=""</if> value="9">9</option>
              <option <if condition="$voo['app_link_start5'] eq 10 ">selected=""</if> value="10">10</option>
              <option <if condition="$voo['app_link_start5'] eq 11 ">selected=""</if> value="11">11</option>
              <option <if condition="$voo['app_link_start5'] eq 12 ">selected=""</if> value="12">12</option>
              <option <if condition="$voo['app_link_start5'] eq 13 ">selected=""</if> value="13">13</option>
              <option <if condition="$voo['app_link_start5'] eq 14 ">selected=""</if> value="14">14</option>
              <option <if condition="$voo['app_link_start5'] eq 15 ">selected=""</if> value="15">15</option>
              <option <if condition="$voo['app_link_start5'] eq 16 ">selected=""</if> value="16">16</option>
              <option <if condition="$voo['app_link_start5'] eq 17 ">selected=""</if> value="17">17</option>
              <option <if condition="$voo['app_link_start5'] eq 18 ">selected=""</if> value="18">18</option>
              <option <if condition="$voo['app_link_start5'] eq 19 ">selected=""</if> value="19">19</option>
              <option <if condition="$voo['app_link_start5'] eq 20 ">selected=""</if> value="20">20</option>
              <option <if condition="$voo['app_link_start5'] eq 21 ">selected=""</if> value="21">21</option>
              <option <if condition="$voo['app_link_start5'] eq 22 ">selected=""</if> value="22">22</option>
              <option <if condition="$voo['app_link_start5'] eq 23 ">selected=""</if> value="23">23</option>
              <option <if condition="$voo['app_link_start5'] eq 24 ">selected=""</if> value="24">24</option>
            </select>
            到<select name="app_link_sed5">
              <option <if condition="$voo['app_link_sed5'] eq 1 ">selected=""</if> value="1">1</option>
              <option <if condition="$voo['app_link_sed5'] eq 2 ">selected=""</if> value="2">2</option>
              <option <if condition="$voo['app_link_sed5'] eq 3 ">selected=""</if> value="3">3</option>
              <option <if condition="$voo['app_link_sed5'] eq 4 ">selected=""</if> value="4">4</option>
              <option <if condition="$voo['app_link_sed5'] eq 5 ">selected=""</if> value="5">5</option>
              <option <if condition="$voo['app_link_sed5'] eq 6 ">selected=""</if> value="6">6</option>
              <option <if condition="$voo['app_link_sed5'] eq 7 ">selected=""</if> value="7">7</option>
              <option <if condition="$voo['app_link_sed5'] eq 8 ">selected=""</if> value="8">8</option>
              <option <if condition="$voo['app_link_sed5'] eq 9 ">selected=""</if> value="9">9</option>
              <option <if condition="$voo['app_link_sed5'] eq 10 ">selected=""</if> value="10">10</option>
              <option <if condition="$voo['app_link_sed5'] eq 11 ">selected=""</if> value="11">11</option>
              <option <if condition="$voo['app_link_sed5'] eq 12 ">selected=""</if> value="12">12</option>
              <option <if condition="$voo['app_link_sed5'] eq 13 ">selected=""</if> value="13">13</option>
              <option <if condition="$voo['app_link_sed5'] eq 14 ">selected=""</if> value="14">14</option>
              <option <if condition="$voo['app_link_sed5'] eq 15 ">selected=""</if> value="15">15</option>
              <option <if condition="$voo['app_link_sed5'] eq 16 ">selected=""</if> value="16">16</option>
              <option <if condition="$voo['app_link_sed5'] eq 17 ">selected=""</if> value="17">17</option>
              <option <if condition="$voo['app_link_sed5'] eq 18 ">selected=""</if> value="18">18</option>
              <option <if condition="$voo['app_link_sed5'] eq 19 ">selected=""</if> value="19">19</option>
              <option <if condition="$voo['app_link_sed5'] eq 20 ">selected=""</if> value="20">20</option>
              <option <if condition="$voo['app_link_sed5'] eq 21 ">selected=""</if> value="21">21</option>
              <option <if condition="$voo['app_link_sed5'] eq 22 ">selected=""</if> value="22">22</option>
              <option <if condition="$voo['app_link_sed5'] eq 23 ">selected=""</if> value="23">23</option>
              <option <if condition="$voo['app_link_sed5'] eq 24 ">selected=""</if> value="24">24</option>
            </select>
            <if condition="$voo['app_link_qiyong5'] eq 1 "><a href="{:U('Dataflow/edit_index',array('app_id'=>$app_id,'app_link_qiyong5'=>2))}">停用</a><else /><a href="{:U('Dataflow/edit_index',array('app_id'=>$app_id,'app_link_qiyong5'=>1))}">启用 </a></if></div>
           	<div class="mc03" <if condition="$jump_type eq 0 ">style="display:none"</if>>
          	点击数<input type="text" name="app_link_click5" id="app_link_click5" value="{$voo['app_link_click5']}"/>
          	<input  class="Wdate input-text"  name="app_link_startdate5" type="text" id="app_link_startdate5" size="14" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" value="
<?php 
if($voo['app_link_startdate5']){
//echo date('Y-m-d',$voo['app_link_startdate5']);
echo $voo['app_link_startdate5'];  
}else{
echo date('Y-m-d'); 
}
?>
" />至
                      <input  class="Wdate input-text"  name="app_link_enddate5" type="text" id="app_link_enddate5" size="14" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd' })" value="
<?php 
if($voo['app_link_enddate5']){
//echo date('Y-m-d',$voo['app_link_enddate5']);
echo $voo['app_link_enddate5'];  
}else{
echo date('Y-m-d'); 
}
?>
" />
          	</div>
           </div>
           <div id="tianjia_5" style="display:none;">
           </div>
           		<input type="hidden" name="app_link_id" value="{$voo['app_link_id']}"/>
 				</volist>
 				<input type="hidden" name="app_id" value="{$vo['id']}"/>
           </foreach>

            
           
            <div style="padding-left:15px; padding-top:10px;"><img src="../Public/images/ok2.jpg" width="60" height="23" id="tianjia_ck"/>  <img src="../Public/images/ok1.jpg" width="60" height="23" style="display:none;" id="quxiao"/></div>
            <div class="ok">
            	<img src="../Public/images/ok.jpg" width="60" height="23" id="tijiao_yanzheng"/>
            	<!--<input type="image" src="../Public/images/ok.jpg" width="60" height="23" id="tijiao_yanzheng"/>-->
            	
            </div> </form>
            </td>
        </tr>
      </table></td>
  </tr>
</table>
<form action="{:U('Dataflow/edit_index',array('app_id'=>$app_id,'jump_type'=>1))}" method="post" id="form_jump_1">
</form>
<form action="{:U('Dataflow/edit_index',array('app_id'=>$app_id,'jump_type'=>2))}" method="post" id="form_jump_2">
</form>
</body>
</html>
